home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Newton / Resources / Creative Digital Systems / CreativeDig.sit / VFReview.txt < prev   
Encoding:
Text File  |  1994-11-22  |  4.0 KB  |  66 lines  |  [TEXT/R*ch]

  1. ViewFrame Review
  2. William L. Colsher
  3. creamneggs@aol.com
  4.  
  5. THIS ARTICLE WAS FIRST PUBLISHED IN PDA DEVELOPERS (FORMERLY PIE DEVELOPERS)
  6. MAGAZINE. COPYRIGHT (C) 1994 BY CREATIVE DIGITAL SYSTEMS. ALL RIGHTS RESERVED.
  7. CONTACT CREATIVE DIGITAL SYSTEMS AT CDS@NETCOM.COM FOR MORE INFORMATION. 
  8.  
  9. ViewFrame by Jason Harper is the first major developer tool for the
  10. MessagePad to be published by a third party (in this case, Creative Digital
  11. Systems, the publisher of this magazine as well). ViewFrame consists of three
  12. applications:
  13.  
  14. *    ViewFrame - a utility for examining and editing NewtonScript objects
  15. *    ViewFrame Editor - a tool for writing simple programs on the MessagePad
  16. *    Programmer's Keyboard - to ease on screen entry of NewtonScript
  17.  
  18.     The full ViewFrame package requires a bit over 100K. Given the recently
  19. released 1.05 system, you need a storage card. You'll also want to be sure
  20. you have good backups on either another storage card or your desktop by using
  21. the Newton Connection Kit early and often. ViewFrame is a powerful package.
  22.     What can you do with ViewFrame? The answer to that depends on how brave
  23. you are (or how recent your backups are). ViewFrame's basic operation is
  24. object browsing. You can use it to examine any object in the Newton.
  25. ViewFrame also allows you to modify writable objects by changing the value of
  26. slots or array elements, and adding and deleting slots. Of course you can
  27. also browse soups (even create sophisticated queries) and edit their contents
  28. as well.
  29.     In addition to the expected object browser and editors ViewFrame can
  30. decompile any CodeBlock into NewtonScript. There are a few limitations (this
  31. is version 1.0 after all). For example, conditional expressions aren't fully
  32. rebuilt into valid NewtonScript but rather left in a form that reflects the
  33. underlying bytecode language. Also nested function definitions aren't fully
  34. listed. In general the limitations are not a problem since the only
  35. legitimate purpose of decompiling a copyrighted program (such as the Newton
  36. OS) is education. You should also note that anything you learn (that's not
  37. officially documented) using ViewFrame on a specific Newton platform is most
  38. likely only relevant to that specific machine. It is also usually illegal to
  39. decompile a program for the purpose of "reverse engineering".
  40.     When you get tired of browsing through the MessagePad's ROM you can write
  41. some NewtonScript programs using the ViewFrame Editor and Programmer's
  42. Keyboard. While you can't write complete applications, you can learn quite a
  43. bit about NewtonScript. (For the many individuals who want a taste of
  44. NewtonScript before investing in the NTK, ViewFrame is the only game in
  45. town.)
  46.     But wait, there's more! You can use ViewFrame to display objects on the
  47. MessagePad without recourse to the Inspector. You can even have ViewFrame
  48. call your application when ViewFrame is being closed so your debugging code
  49. can shut itself off. Yep, you can finally debug communications programs!
  50.     Finally, like good ol' ResEdit, ViewFrame is extensible. You can add your
  51. own Programmer's Keyboard or ViewFrame Editor if those supplied are not to
  52. your liking. You can also write new object viewing and editing functions.
  53. This process is somewhat more complex, but if you are in a position where you
  54. need this functionality you also know enough to create it fairly easily.
  55.     By now you should be getting the idea. ViewFrame is a nearly
  56. indispensable development tool, tremendously educational, and a whole lot of
  57. fun. The manual is well written and includes a lot of information that is not
  58. presently available anywhere else. 
  59.     The only thing that ViewFrame doesn't have is a NewtonScript tutorial,
  60. (nor does it contain any of the basic Newton documentation delivered with the
  61. Newton Tool Kit). Complete NewtonScript novices still need to gain access to
  62. at least the NTK documentation. (One obvious add-on product is a NewtonScript
  63. tutorial with exercises tailored to ViewFrame.)
  64.     I highly recommend ViewFrame to every Newton programmer. Get it, Use it,
  65. Whoop! 
  66.